console.log("This is javascript");// JavaScript Document
function oneToTwo(){
$("#pf1").click(function()
{console.log("clicked");
$("#pf2").show();
$("#pf1").hide();
$(".switchPic").css("border","solid 5px blue");
	}
);	
	}
function twoToOne(){
$("#pf2").click(function()
{console.log("clicked");
$("#pf1").show();
$("#pf2").hide();
$(".switchPic").css("border","solid 5px green");
	}
);	
	}
$(function(){

// 开始写 jQuery 代码...
$("#pf2").hide();
oneToTwo();
twoToOne();
$("#btnClick").click(function(){
$("#pf1").show();	
	});
});